package com.scott.crm.user.bean;

import com.scott.base.BaseBean;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * @author 黄后林
 * @version 1.0
 * @note
 * @date 2021-11-27 12:31:48
 */

@Data
@Table(name="crm_user_t")
public class UserBean extends BaseBean {

    @Id
    @Column(name="ID")
    private Integer id;

    @Column(name="NAME")
    private String name;

    @Column(name="PHONE")
    private String phone;

    @Column(name="PASSWORD")
    private String password;

    @Column(name="EMAIL")
    private String Email;


    @Transient
    private String roleName;

    @Transient
    private Integer roleId;

}
